import * as types from '../constants/actionTypes';

function history_change(address){
    
    return async (dispatch) =>{
        dispatch({type:types.HISTROY_CHANGE, history_list:address});
    };
}

function store_change(address){

    return async (dispatch) =>{
        dispatch({type:types.STORE_CHANGE, store_list:address});
    };
}

module.exports = {history_change, store_change};
